package com.wsl.mybatiscustomframe.execute;

import com.wsl.mybatiscustomframe.pojo.Configuration;
import com.wsl.mybatiscustomframe.pojo.MappedStatement;

import java.util.List;

/**
 * packageName com.wsl.mybatiscustomframe.execute  Executor
 *
 * @author victor
 * @version JDK 8
 * @date 2024/7/11
 * @description TODO
 */
public interface Executor {

    <E> List<E> query(Configuration configuration, MappedStatement
            mappedStatement, Object params) throws Exception;

    void close();
}
